ConnectSleepRetries
Integer, Integer (sleep, retries)
5,1
Purpose
The ConnectSleepRetries parameter specifies the number of seconds between the specified number of times JADE attempts to retry launching the Adobe Reader and opening a PDF file at the appropriate topic when you press F1 to access context-sensitive help from the JADE development environment.
The first value (sleep) is the number of seconds to sleep between connection attempts and the second value (retries) is the number of attempts to connect. If the attempt to connect to a PDF file in the launched Acrobat Reader fails, JADE retries the specified number of times with the specified number of seconds between each attempted retry.
You can specify a sleep value of 1 through 60 inclusive and a retries value of 1 through (120/sleep), inclusive. If JADE cannot attach to the hyperlink indicated by the F1 action in that time, control returns to JADE.
Hint
If the UseJadeWebHelp parameter in the [JadeHelp] section of the JADE initialization file is set to false and you press F1 from the JADE development environment to launch the Adobe Reader and access the appropriate topic in a JADE PDF file using Adobe Reader 6.0 or higher from a slower machine (for example, from an older laptop), JADE can time-out before it has time to load the appropriate document at the required topic after it has launched the Adobe Reader application. Although the Adobe Reader may be launched, you have to repeat the F1 action to enable JADE to open the PDF document itself at the specified hyperlink topic.
Although you can use the ConnectSleepRetries parameter sleep and retries values to allow JADE the maximum of two minutes to launch the Adobe Reader and open the appropriate file at the requested topic if you are running JADE on a slower machine, it is better to specify a smaller number of seconds to sleep (for example, 2) and a larger number of retries (for example, 10), to reduce the impact of the connection process.